package casa.depesos.app.com.http.bean;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

import casa.depesos.app.com.http.BaseBean;
import casa.depesos.app.com.http.data.Banner;

public class BannerBean extends BaseBean {

    @SerializedName("dataRecord")
    @Expose
    public List<Banner> list;

    @Override
    public boolean isValid() {
        boolean bo = super.isValid();
        if (bo) {
            return list != null && !list.isEmpty();
        }
        return false;
    }
}
